# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
FROM golang:latest

WORKDIR /go/src/chaincode
COPY .. .

RUN go get -d -v ./...
RUN go install -v ./...

EXPOSE 7052
CMD ["soa"]
